import Vue from 'vue'
import App from './App.vue'
import router from './router'

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

// 引入字体图标库
import 'static/iconfont/iconfont.css'
import { fetchGet, fetchPost } from './axios'

import '@/permission' // permission control

Vue.use(ElementUI)

Vue.config.productionTip = false
Vue.prototype.$fetchPost = fetchPost
Vue.prototype.$fetchGet = fetchGet

new Vue({
  router,
  render: h => h(App),
}).$mount('#app')
